package org.train.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.Date;

@Data
@TableName("project")
@JsonIgnoreProperties(ignoreUnknown = true, allowGetters = true)
public class ProjectPo{
    @TableId(type = IdType.AUTO)
    private Integer id;

    // 新增时需填的
    private String contractName;
    private String firstParty;
    @TableField("contract_signing_personnel")
    private String contractSigner;
    private String projectLeader;
    private Double contractAmount = 0.0;
    private Integer researchOffice;
    private Date contractStartTime;
    private Date contractEndTime;
    private Integer projectYear;
    private Double bidSecurity;
    private Double bidFee;

    // 其他奇怪的默认的东西
    private Integer projectLevel;
    private Integer projectStatus;
    private Integer contractArchiving;
    private Integer bidSecurityReturn;
    private Integer bidFeeInvoicing;

    // 资料归档待做
    // remark
}